Fan controlling circuit

ABSTRACT

A fan controlling circuit is provided. The fan controlling circuit includes an integral unit, an operational amplifier, and an output unit. The integral unit transforms pulse width modulation signals to voltages, and then the output unit outputs one of the pulse width modulation signals having a higher operation frequency according to the comparison result between the voltages. As the fan controlling circuit may be constituted with discrete elements and use a same voltage source as fans, the design cost and complexity are reduced.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwan application serial no. 97146008, filed Nov. 27, 2008. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to a fan controlling circuit, in particularly, to a fan controlling circuit suitable for a server.

2. Description of Related Art

A server system usually has multiple sets of fans used for cooling. For a current computer system, fan controlling mainly performs the over temperature protection through an embedded controller (EC) on a mother board. The EC detects the temperature of the computer system, and adjusts an operation frequency of a pulse width modulation (PWM) signal according to the detected temperature, so as to control a rotating speed of system fans in the computer system to adjust the temperature.

A server system has multiple sets of thermal sensors to decide the rotating speed of fans at different positions, for example, if two mother boards of a server share one fan board, the mother boards of the server provide different PWM signals to the fan board, respectively. In the conventional art, the different PWM signals are integrated by a micro-controller. The PWM signal with the highest operation frequency is used to drive the fan board.

However, the micro-controller is expensive. Further, the micro-controller uses a voltage different from that of the fans, so an additional voltage source needs to be provided to enable the micro-controller to operate, which not only makes the design more complicated, but also increases the design cost.

SUMMARY OF THE INVENTION

The present invention is directed to a fan controlling circuit, which transforms pulse width modulation (PWM) signals to voltages by an integral circuit, and then compares the voltages to output the pulse width modulation signal with a higher operation frequency to drive multiple sets of fans. As the fan controlling circuit may be formed by discrete elements and use a same voltage source as fans, the design cost and complexity may be reduced.

As embodied and broadly described herein, the present invention provides a fan controlling circuit, which is used to control a rotating speed of fans. The fan controlling circuit includes an integral unit, an operational amplifier, and an output unit. The integral unit receives a first PWM signal and a second PWM signal, and outputs a first voltage corresponding to an operation frequency of the PWM signal and a second voltage corresponding to an operation frequency of the second PWM signal. The operational amplifier is coupled to an output of the integral unit so as to compare the first voltage and the second voltage. The output unit is coupled to an output of the operational amplifier, the first PWM signal and the second PWM signal, and outputs the PWM signal with a higher operation frequency according to the output of the operational amplifier.

In an embodiment of the present invention, the integral unit includes a first integral circuit and a second integral circuit. The first integral circuit is used to receive the first PWM signal and output the first voltage to a negative input terminal of the operational amplifier, and the second integral circuit is used to receive the second PWM signal and output the second voltage to a positive input terminal of the operational amplifier. The first circuit and the second circuit may use a same circuit structure.

In an embodiment of the present invention, the first integral circuit or the second integral circuit includes an NMOS transistor (n-channel metal oxide semiconductor field effect transistor, MOSFET), a capacitor, and a plurality of resistors. A drain of the NMOS transistor is coupled to a first resistor, and a source of the NMOS transistor is coupled to a ground terminal, and a gate of the NMOS transistor is coupled to a second resistor. Another end of the second resistor is coupled to the first PWN signal. A third resistor and the capacitor are serially coupled between a voltage source and the ground terminal, and another end of the first resistor is coupled to a common node of the third resistor and the capacitor. The common node of the third resistor and the capacitor outputs a first voltage corresponding to the first PWM signal.

In an embodiment of the present invention, the output unit includes an operational amplifier, two p-channel MOSFETs (PMOS transistors), and two resistors. A negative input terminal of the operational amplifier is coupled to a first resistor, and another end of the first resistor is coupled to an output of a former operational amplifier. A second resistor is coupled between the output terminal of the operational amplifier and the negative input terminal. The drain of a first PMOS transistor is coupled to a first PWM signal, a source of the first PMOS transistor is coupled to the output terminal of the output unit, and a gate of the first PMOS transistor is coupled to an output of the first operational amplifier. The drain of a second PMOS transistor is coupled to the second PWM signal, a source of the second PMOS transistor is coupled to the output terminal of the output unit, and a gate of the second PMOS transistor is coupled to the output of the operational amplifier. The positive input terminal of the operational amplifier in the output unit is coupled to a ground terminal. It should be noted that the output unit may also change the terminals for receiving the first PWM signal and the second PWM signal so as to output different signals correspondingly.

In an embodiment of the present invention, the first integral circuit or the second integral circuit may be implemented by using another circuit architecture. The architecture includes an NMOS transistor, a PNP transistor, resistors, and capacitors. The drain of the NMOS transistor is coupled to a first resistor, a source of the NMOS transistor is coupled to a ground terminal, and a gate of the NMOS transistor is coupled to a second resistor. Another end of the second resistor is coupled to the first PWM signal. The emitter of the PNP transistor (PNP Bipolar Junction Transistor (BJT)) is coupled to a voltage source, the collector of the PNP transistor is coupled to a third resistor, and the base of the PNP Transistor is coupled to another end of the first resistor. A fourth resistor and a capacitor are coupled in parallel between another end of the third resistor and the ground terminal. A common node of the third resistor and the fourth resistor outputs voltages corresponding to the PWM signals.

Based on the above, the present invention uses circuits formed by discrete elements instead of expensive micro-controllers. A PWM signal having a relatively higher frequency may be selected according to the operation frequencies of the PWM signals to drive fans shared by mother boards of a server. In addition, the fan controlling circuit of the present invention may use the same operation voltage as the fans, so that the design complexity and design cost of the circuit may be simplified.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a circuit diagram of a fan controlling circuit according to a first embodiment of the present invention.

FIG. 2 is a circuit diagram of a fan controlling circuit according to a second embodiment of the present invention.

DESCRIPTION OF THE EMBODIMENTS

Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.

First Embodiment

FIG. 1 is a circuit diagram of a fan controlling circuit according to a first embodiment of the present invention. Referring to FIG. 1, a fan controlling circuit 100 mainly includes an integral unit 110, an operational amplifier 120 and an output unit 130. The integral unit 110 transforms two pulse width modulation (PWM) signals PWM1 and PWM2 to DC voltages PV1 and PV2 for comparison. The operational amplifier 120 is coupled between the integral unit 110 and the output unit 130, and is used to compare the DC voltages PV1 and PV2 to determine which one of the PWM signals PWM1 and PWM2 has a higher operation frequency. The output unit 130 outputs one of the PWM signals PWM1 and PWM2 to drive the corresponding fan board according to the comparison result output from the operational amplifier 120. The present invention may output PWM signals with higher or lower operation frequencies according to design requirements. In this embodiment, outputting the PWM signal having the higher operation frequency is taken as an example for illustration.

The integral unit 110 includes two integral circuits 112 and 114, which have the same circuit structure. Taking the integral circuit 112 for example, the integral circuit 112 includes an NMOS transistor N10, resistors R11, R12 and R13, and a capacitor C10, wherein the drain of the NMOS transistor N10 is coupled to the resistor R11, the source of the NMOS transistor N10 is coupled to a ground terminal GND and the gate of the NMOS transistor N10 is coupled to the resistor R12, while another end of the resistor R12 is coupled to the PWM signal PWM1. The capacitor C10 and the resistor R13 are serially coupled between a voltage source VDD and the ground terminal GND. Another end of the capacitor C10 is coupled to the ground terminal GND. Another end of the resistor R13 is coupled to the voltage source VDD. A common node of the capacitor C10 and the resistor R13 is coupled to another end of the resistor R11, and is used to output the DC voltage PV1 to a negative input terminal of an operational amplifier 120. The integral circuit 114 has the same circuit structure as the integral circuit 112, and is used to transform the PWM signal PWM2 to the DC voltage PV2, and to output the PV2 to a positive input terminal of the operational amplifier 120.

The output unit 130 includes an operational amplifier 132, resistors R14 and R15, and PMOS transistors P12 and P14. The resistor R14 is coupled between a negative input terminal of the operational amplifier 132 and an output terminal of the operational amplifier 120. The resistor R15 is coupled between a negative input terminal and an output terminal of the operational amplifier 132. The drain of the PMOS transistor P12 is coupled to the PWM signal PWM1, and the source of the PMOS transistor P12 is coupled to an output terminal OUT of the output unit 130. The gate of the PMOS transistor P12 is coupled to an output of the operational amplifier 120. The drain of the PMOS transistor P14 is coupled to the PWM signal PWM2. The source of the PMOS transistor P14 is coupled to the output terminal OUT of the output unit 130. The gate of the PMOS transistor P14 is coupled to an output of the operational amplifier 132. The positive input terminal of the operational amplifier 132 is coupled to the ground terminal GND.

Because the turn-on time of the NMOS transistor N10 is proportional to an operation frequency of the PWM signal PWM1, the voltage difference between the two terminals of the capacitor C10 (i.e., the DC voltage PV1) will increase as the operation frequency of the PWM signal PWM1 increases. Similarly, the DC voltage PV2 will also increase as an operation frequency of the PWM signal PWM2 increases. When the DC voltage PV1 is higher than the DC voltage PV2 (indicating that the operation frequency of the PWM signal PWM1 is higher than that of the PWM signal PWM2), the output of the operational amplifier 120 is at a low potential (ground level), and thus the PMOS transistor P12 will be turned on to output the PWM signal PWM1. When the DC voltage PV1 is lower than the DC voltage PV2 (indicating that the operation frequency of the PWM signal PWM1 is lower than that of the PWM signal PWM2), the output of the operational amplifier 120 is at a high potential, and thus the PMOS transistor P14 will be turned on to output the PWM signal PWM2.

In other words, the fan controlling circuit 100 according to this embodiment may selectively output the PWM signal (PWM1 or PWM2) having a higher operation frequency to fans, so as to drive the fans to rotate at a relatively higher speed with the PWM signal. The fan controlling circuit 100 can replace the micro-controller in the conventional art to determine which PWM signal is to be output. Additionally, it should be noted that the voltage source VDD used in the fan controlling circuit 100, for example, 12 voltages, is equal to the voltage used by the fans in a common server, and therefore the power supply of the fan controlling circuit 100 does not need to be designed otherwise, which may reduce the complexity and the cost of the design.

Second Embodiment

In order to enhance the voltage transformation characteristics of the integral unit 110, the integral circuits 112 and 114 in the integral unit 110 may be different. FIG. 2 is a circuit diagram of a fan controlling circuit according to a second embodiment of the present invention. Referring to FIG. 2, the main difference between the fan controlling circuit 200 and the fan controlling circuit 100 lies in the integral unit 210. The integral unit 210 is also formed by two integral circuits 212 and 214 having the same circuit structure. The integral circuit 212 is coupled between the negative input terminal of the operational amplifier 120 and the PWM signal PWM1, and is used to transform the PWM signal PWM1 to the DC voltage PV1. The integral circuit 214 is coupled between the positive input terminal of the operational amplifier 120 and the PWM signal PWM2, and is used to transform the PWM signal PWM2 to the DC voltage PV2.

The integral circuit 212 includes an NMOS transistor N20, a PNP transistor B20, resistors R21, R22, R23 and R24, and a capacitor C20. The drain of the NMOS transistor N20 is coupled to the resistor R21. The source of the NMOS transistor N20 is coupled to a ground terminal GND. The gate of the NMOS transistor N20 is coupled to the resistor R22. Another end of the resistor R22 is coupled to the PWM signal PWM1. The emitter of the PNP transistor B20 is coupled to a voltage source VDD. The collector of the PNP transistor B20 is coupled to the resistor R23. The base of the PNP transistor B20 is coupled to another end of the resistor R21. The resistor R24 and the capacitor C20 are coupled in parallel between another end of the resistor R23 and the ground terminal GND. A common node of the resistor R23 and the resistor R24 outputs the DC voltage PV1. Referring to FIG. 2, the circuit structure of the integral circuit 214 is the same as that of the integral circuit 212, and will not be described again here. It should be noted that although the integral circuit 214 and the integral circuit 212 in the embodiment have the same circuit structure, if a user has special requirements in the design, a different circuit structure may be used, which is not limited in this embodiment.

In this embodiment, the capacitor C20 is charged only when the NMOS transistor N20 is turned on, the DC voltages PV1 and PV2 will increase as the operation frequencies of the PWM signals PWM1 and PWM2 increase. The fan controlling circuit 200 will output the PWM signal having a higher operation frequency to drive the fans at the rear end. To output the PWM signal having a lower operation frequency, the user just needs to swap the terminals receiving PWM signals correspondingly.

The transistors (including the NMOS, PMOS, and BJT) described in the above embodiments mainly function as switches. Therefore, the present invention is not limited to the circuit architecture or the elements used in FIG. 1 and FIG. 2. Similarly, the integral circuits mainly transform PWM signals to DC voltages for comparison. The output unit mainly selects the PWM signal to output according to the comparison result. Persons skilled in the art can easily derive other feasible circuits from the disclosure of the present invention, which will not be described here.

In conclusion, the present invention replaces conventional micro-controllers by discrete circuits, such that the fan controlling circuit and the rear-end fans may use the same voltage source, which reduces the circuit design cost, and lowers the design complexity of the fan controlling circuit.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents. 

1. A fan controlling circuit, for controlling a rotating speed of fans, comprising: an integral unit, for receiving a first pulse width modulation (PWM) signal and a second PWM signal, and outputting a first voltage corresponding to an operation frequency of the first PWM signal and a second voltage corresponding to an operation frequency of the PWM signal, the integral unit comprising: a first integral circuit, for receiving the first PWM signal, and outputting the first voltage to a negative input terminal of the first operational amplifier, the first integral circuit comprising: an n-channel metal-oxide-semiconductor (NMOS) transistor, wherein a drain of the NMOS transistor is coupled to a first resistor, a source of the NMOS transistor is coupled to a ground terminal, a gate of the NMOS transistor is coupled to a second resistor, and another end of the second resistor is coupled to the first PWM signal; and a third resistor, serially connected to a capacitor, and another end of the third resistor coupled to a voltage source, wherein another end of the capacitor is coupled to the ground terminal, and another end of the first resistor is coupled to a common node of the third resistor and the capacitor; wherein the common node of the third resistor and the capacitor outputs the first voltage; a first operational amplifier, coupled to an output of the integral unit, for comparing the first voltage and the second voltage; and an output unit, coupled to an output terminal of the first operational amplifier, and the first PWM signal and the second PWM signal, and outputting one of the first PWM signal and the second PWM signal according to the output of the first operational amplifier to control the fans.
 2. The fan controlling circuit according to claim 1, wherein the integral unit comprises: a second integral circuit, for receiving the second PWM signal, and outputting the second voltage to a positive input terminal of the first operational amplifier.
 3. The fan controlling circuit according to claim 2, wherein the second integral circuit comprises: an NMOS transistor, wherein a drain of the NMOS transistor is coupled to a first resistor, a source of the NMOS transistor is coupled to a ground terminal, a gate of the NMOS transistor is coupled to a second resistor, and another end of the second resistor is coupled to the second PWM signal; and a third resistor, serially connected to a capacitor, and another end of the third resistor coupled to a voltage source, wherein another end of the capacitor is coupled to the ground terminal, and another end of the first resistor is coupled to a common node of the third resistor and the capacitor; wherein the common node of the third resistor and the capacitor outputs the second voltage.
 4. The fan controlling circuit according to claim 1, wherein the output unit comprises: a second operational amplifier, wherein a negative input terminal of the second operational amplifier is coupled to a first resistor, and another end of the first resistor is coupled to the output terminal of the first operational amplifier; a second resistor, coupled between an output terminal of the second operational amplifier and the negative input terminal of the second operational amplifier; a first p-channel metal-oxide-semiconductor (PMOS) transistor, wherein a drain of the first PMOS transistor is coupled to the first PWM signal, a source of the first PMOS transistor is coupled to an output terminal of the output unit, and a gate of the first PMOS transistor is coupled to the output terminal of the first operational amplifier; and a second PMOS transistor, wherein a drain of the second PMOS transistor is coupled to the second PWM signal, a source of the second PMOS transistor is coupled to the output terminal of the output unit, and a gate of the second PMOS transistor is coupled to the output terminal of the second operational amplifier; wherein a positive input terminal of the second operational amplifier is coupled to the ground terminal. 